/**
 * Copyright (c) 2018 人人开源 All rights reserved.
 *
 * https://www.renren.io
 *
 * 版权所有，侵权必究！
 */

package com.lswms.modules.lswms.dao.logs;

import com.lswms.common.dao.BaseDao;
import com.lswms.modules.lswms.entity.logs.SysLogLoginEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.Date;
import java.util.List;

/**
 * 登录日志
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0
 */
@Mapper
public interface SysLogLoginDao extends BaseDao<SysLogLoginEntity> {

    @Select("select top 2 create_date from [dbo].[sys_log_login]  order by create_date DESC ")
    List<Date> getLoginDate();

}
